package org.broadway.jmx;

import javax.management.MBeanServerConnection;

/**
 * This is a common interface for all JMX MBeans being implemented 
 * in the JMX layer for this project.  It provides common methods that
 * all beans need.
 * 
 * @author vmatters
 *
 */
public interface BaseJmxBean {
	/**
	 * Setter for MBean Server 
	 * @param server
	 */
	public void setMBeanServer(MBeanServerConnection server);
	
	/**
	 * Lifecycle feedback method.
	 * @return date been was created.
	 */
	public String getDateCreated();
	
	/**
	 * Lifecycle feedback method
	 * @return date bean value was modified.
	 */
	public String getDateModified();

}
